package com.oa.service;

import java.util.List;

import com.oa.bean.Pager;
import com.oa.bean.TDept;
import com.oa.dao.TDept_hqq_Dao;

public class Every_hqq_ServiceImp  implements Every_hqq_Service{
	private TDept_hqq_Dao tDept_hqq_Dao;
	
	public void settDept_hqq_Dao(TDept_hqq_Dao tDept_hqq_Dao) {
		this.tDept_hqq_Dao = tDept_hqq_Dao;
	}

	@Override
	public TDept save(TDept t) {
		TDept dept=tDept_hqq_Dao.save(t);
		return dept;
	}

	@Override
	public void delete(TDept t) {
		tDept_hqq_Dao.delete(t);
	}

	@Override
	public TDept uqdate(TDept t) {
		TDept dept=tDept_hqq_Dao.uqdate(t);
		return dept;
	}

	@Override
	public TDept select(Integer pk) {
		TDept dept=tDept_hqq_Dao.select(pk);
		return dept;
	}

	@Override
	public List<TDept> selects() {
		List<TDept> list=tDept_hqq_Dao.selects();
		return list;
	}

	@Override
	public int queryId(TDept t) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public void close() {
		// TODO Auto-generated method stub
		
	}

}
